package com.taotao.designpattern.state.multi;

import com.taotao.designpattern.state.Event;
import com.taotao.designpattern.state.State;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class SopProcess {
    /**
     * 前一个状态
     */
    private State from;
    /**
     * 下一个状态
     */
    private State to;
    /**
     * 触发状态转移事件
     */
    private Event event;
    /**
     * 转移完成后处理逻辑
     */
    private IStateHandle stateHandle;

}
